package com.namecard.namecardapi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.namecard.namecardapi.entity.CardOrderInfo;
import com.namecard.namecardapi.entity.OrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zxb
 * @since 2023-07-06
 */
@Mapper
public interface CardOrderInfoMapper extends BaseMapper<CardOrderInfo> {

    /**
     * 在个人购买名片库插入新的名片id
     */

    int insertNewCardId(@Param("cardId") String cardId, @Param("userId") String userId);
}
